package dao;


import org.apache.ibatis.annotations.Param;
import po.Student;

import java.util.List;

public interface StudentDao {
    // 查询
    List<Student> allStudent(Student student);
    int deleteStudent(Integer id);
    int addStudent(Student student);
    Student studentOfId(Integer id);
    int editStudent(Student student);
    int isEnableStudent(@Param("id") Integer id, @Param("isEnable") Integer flag);
}
